VIVE 3DSP Native C Library  ver 1.0.0.0
Audio 3DSP (3D Sound Perception) Native C Library
ambisonic_decoder.h
Go to the documentation of this file.
1 //========= Copyright 2016-2018, HTC Corporation. All rights reserved. ===========
2 #pragma once
3 #include "audio_engine.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9  namespace HTC_Vive3DSP_SDK {
15  typedef struct vive_3dsp_ambi_decoder vive_3dsp_ambisonic_decoder;
16 
27  vive_3dsp_ambi_decoder_create_object(vive_3dsp_context *api, int sampleRate);
38  vive_3dsp_ambi_decoder_destroy_object(vive_3dsp_context *api, vive_3dsp_ambisonic_decoder *coder);
52  vive_3dsp_ambi_decoder_process(vive_3dsp_context *api, vive_3dsp_ambisonic_decoder *coder, float *in_buffer, float *out_buffer, int sampleLength);
53  }
54 
55 #ifdef __cplusplus
56 }
57 #endif
VIVE_3DSP_API_STATUS
Definition: audio_engine.h:25
#define VIVE_3DSP_API_DLLEXPORT
Definition: audio_engine.h:6
The vive_3dsp_ambi_decoder structure represents the ambisonic decoder.
The vive_3dsp_context structure represents the overall audio engine of 3D sound model.
Definition: vive_3dsp_api.h:15